<?php

namespace App\Observers;

use App\Models\Link;

class LinkObserver
{
    protected $rememberCacheTag = 'larabbs_links';

    public function saved(Link $link)
    {
        $link->flushCache($this->rememberCacheTag);
    }
}
